package vip.xiaonuo.common.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CommonParam {
    @ApiModelProperty(value = "搜索关键字")
    private String searchValue;

    @ApiModelProperty(value = "每页大小")
    @NotNull
    private Integer size = 20;

    @ApiModelProperty(value = "第几页")
    @NotNull
    private Integer current = 1;
}
